home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000966_tim@maths.tcd.ie_Tue Sep 20 18:46:07 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  5KB

  1. Received: from salmon.maths.tcd.ie by cs.umb.edu with SMTP id AA15772
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Tue, 20 Sep 1994 18:46:07 -0400
  3. Received: from hamilton.maths.tcd.ie by salmon.maths.tcd.ie
  4.            Via SMTP (FibreOptic) id aa27403; 20 Sep 94 21:37 BST
  5. Subject: Re: problems with kpathsea
  6. To: Ian James McKay <ian@fractal.cimat.conacyt.mx>
  7. Date: Tue, 20 Sep 1994 21:37:05 (BST)
  8. From: Timothy Murphy <tim@maths.tcd.ie>
  9. Cc: tex-k@cs.umb.edu
  10. In-Reply-To: <9409201649.AA06545@fractal.cimat.conacyt.mx> from "Ian James McKay" at Sep 20, 94 10:49:57 am
  11. X-Mailer: ELM [version 2.4 PL21]
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=US-ASCII
  14. Content-Transfer-Encoding: 7bit
  15. Content-Length: 3830      
  16. Message-Id:  <9409202137.aa20881@hamilton.maths.tcd.ie>
  17.  
  18. > I have been trying to install the basic TeX distribution on a
  19. > Sun SPARC (IPX) running SUNOS 4.1.2 with GNU make, bison, flex 
  20. > and gcc. The configure program seems to find the OpenWindows
  21. > X11 includes and libraries with no problem, and I am unable to 
  22. > see anything wrong with the Makefiles. I have tried several
  23. > times to apply the various patches to kpathsea so that the
  24. > web2c distribution and the xdvik and dvipsk distributions
  25. > match. It fails utterly to work, and craps out everytime it
  26. > tries to compile the kpathsea material. 
  27.  
  28. Worked perfectly for me.
  29.  
  30. > This is frustrating, since the original kpathsea that came
  31. > with web2c worked fine. As well I was able to get dvipsk-5.55a
  32. > to compile on its own, though it doesn't behave as advertised
  33. > (for example MakeTeXPK fails completely, because it can't write
  34. > to the ..../tmp directory, even though I gave the entire universe
  35. > write permission there). 
  36.  
  37. I think MakeTeXPK first writes the PK file in a temporary directory,
  38. and then moves it (if it can) to its final resting place.
  39.  
  40. It's not quite clear which one it fell down on from your report.
  41.  
  42. > By the way, your documentation implies 
  43. > that the versions of kpathsea that come with dvipsk and xdvik
  44. > are identical, but this can't be true -- try applying the 
  45. > kpathsea.ls-R.help patch to dvipsk-5.55a, and you'll find that
  46. > db.c isn't even there, though it is in xdvik-1.8.
  47.  
  48. Seems to be in mine.
  49. (I think there was a note that something was missing, temporarily.)
  50.  
  51. I checked the 2 directories with "diff -r",
  52. and they were identical in my case.
  53.  
  54. > Here is the most recent of several sets of error messages for
  55. > my attemps to make as per your instructions.
  56. > gcc  -I. -I.  -I.. -I./..  -I/usr/openwin/include  -g -c dir.c
  57. > ./kpathsea/dir.h:48: parse error before `*'
  58.  
  59. This looks as though configure got the wrote dirent/direct choice
  60. just a few lines above.
  61. You could try changing the definitions in c-auto.h
  62.  
  63. > Since you have solicited suggestions for improved documentation,
  64. > let me suggest that you could start by being a little more 
  65. > explicit about what directories to run make in, and in particular
  66. > what to do about compiling the whole mess together. If I knew what
  67. > kpathsea was doing I would know whether it was safe to compile
  68. > xdvik, dvipsk and web2c each with its own version of kpathsea,
  69. > but I haven't got a clue whether that is a smart thing to do or not.
  70.  
  71. You can certain compile each quite separately from the others.
  72. That's the simplest thing to do.
  73.  
  74. > I don't want to criticize because I can see the effort that you have
  75. > put into this package, but really, it has cost me valuable time
  76. > and shows no sign of being a 'comprehensive TeX archive'. It seems
  77. > that good, well-tested code for xdvi, dvips and TeX has been complicated
  78. > to the point of being uncompilable by having several different versions
  79. > of kpathsea floating around. In contrast, even very large packages like
  80. > the GNU emacs distribution have been virtually painless to install,
  81. > only requiring reading of simple, step-by-step instructions, and some
  82. > compile time. Still, my ignorance of the package could be entirely
  83. > responsible for my problems now.
  84.  
  85. As I understand it, the versions of kpathsea in
  86. dvipsk, xdvik and dviljk are always the same
  87. (or intended to be).
  88. So it should make absolutely no difference if you compile these
  89. separately or together.
  90. The kpathsea in web2c-6.1 is older than the others at present (and usually).
  91. You have to apply the patch you mentioned if you want to use
  92. the more recent kpathsea with web2c.
  93. Incidentally, this patch is now out of date,
  94. since the current versions of the 3 drivers (dvipsk-5.58a, dvik-18b)
  95. have a new kpathsea in them.
  96. I don't think a patch has yet been supplied for these.
  97.  
  98. However, you have the old drivers.
  99. The patch worked ok for me ...
  100.  
  101.